package fx.game.demo.window;

import fx.game.demo.common.*;
import javafx.scene.Scene;
import javafx.stage.Stage;

/**
 *
 * @author: datom
 *
 * @create: 2021/12/6 16:11
 *
 * @Deprecated 游戏结束提示
 *
 **/
public class GameOverTipsWindow extends Stage {


    public GameOverTipsWindow() {

        //初始化窗口
        setTitle("游戏结束");

        setWidth(BaseMeta.GAME_OVER_TIPS_WINDOW_WIDTH);
        setHeight(BaseMeta.GAME_OVER_TIPS_WINDOW_HEIGHT);
        getIcons().add(GameResource.getAppIcon());
        setFullScreen(false);
        setIconified(false);
        setResizable(false);

        Scene scene = new Scene(LayoutManage.getGameOverTipsWindowLayout());

        setScene(scene);

    }

}
